package com.sam.chat.mapper;

import com.sam.chat.entity.ChatUserDao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sam.chat.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sam
 * @since 2022-12-31
 */
@Mapper
public interface ChatUserMapper extends BaseMapper<ChatUserDao> {
    UserVo findUser(String username, String password);

    Integer getUserId(String username);

    String findHeader(int userId);


}
